package com.example.points.service;

import com.example.points.domain.UserPoints;
import com.example.points.domain.PointsOperationLog;
import java.util.List;

public interface PointsService {
    // 查询用户积分
    UserPoints queryUserPoints(Long userId);
    
    // 用户积分充值
    void rechargePoints(Long userId, Long points);
    
    // 用户积分消费
    boolean consumePoints(Long userId, Long points);
    
    // 批量充值积分
    void batchRechargePoints(List<Long> userIds, Long points);
    
    // 批量消费积分
    void batchConsumePoints(List<Long> userIds, Long points);
    
    // 查询操作日志
    List<PointsOperationLog> queryOperationLogs(Long userId, Integer operationType, String startTime, String endTime);
} 